package labox.innovation.gameserver.network.clientpackets;

import labox.innovation.gameserver.model.actor.instance.FuzePcInstance;
import labox.innovation.gameserver.network.serverpackets.PartyInfoPacket;

/**
 * @author ljsh
 * @date 2010-3-30
 * @version 1.0
 * @description 请求 队伍信息
 */
public final class RequestPartyInfo extends L2GameClientPacket {
	// private static Logger _log =Logger.getLogger(RequestFriendList.class.getName());
	private static final String _C__RequestPartyInfo = "[C] RequestPartyInfo";

	@Override
	protected void readImpl() {
		// trigger
	}

	@Override
	protected void runImpl() {
		FuzePcInstance activeChar = getClient().getActiveChar();
		if (activeChar == null)
			return;
		activeChar.sendPacket(new PartyInfoPacket());
	}

	@Override
	public String getType() {
		return _C__RequestPartyInfo;
	}
}
